package com.etocrm.saas.lib.base.log.requestlog.register;

import com.etocrm.saas.lib.base.log.requestlog.advice.HttpLogAdvice;
import org.springframework.context.annotation.Bean;
import org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice;

/**
 * 注册log advice
 * Created by Xs on 2022/12/14.
 */
public class RequestLogAdviceRegister {

    @Bean
    public RequestBodyAdvice requestLogAdvice() {
        return new HttpLogAdvice();
    }

}
